
<div class="Breadcrumb">
	  <div class="Breadcrumb-i">您当前所在的位置：<span><a href="<?php echo base_url($this->_site_path.'/user');?>">会员信息</a></span>&nbsp;>&nbsp;<span class="orange"><?php echo isset($user_data['user_id'])?'修改':'添加';?></span> </div>               <div class="Breadcrumb-div">
       	   <ul>
           	   <li class="Breadcrumb-tj"><a href="<?php echo base_url( $this->_site_path.'/user/add' );?>" >添加</a></li>
           	   <li class="Breadcrumb-lb"><a href="<?php echo base_url( $this->_site_path.'/user' );?>" >列表</a></li>
           </ul>
        </div>
</div>
<div class="box box-headtitle box-radius">
<?php get_messagebox();// 获取提示框 ?>
	<form method="post">

		<div class="control-group">
			<label class="control-label" for="user_id">user_id</label>
			<div class="controls">
				<input type="text" name="user_id" id="user_id" placeholder="" value="<?php echo isset($user_data['user_id'] ) ? $user_data['user_id'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="email">邮箱</label>
			<div class="controls">
				<input type="text" name="email" id="email" placeholder="" value="<?php echo isset($user_data['email'] ) ? $user_data['email'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="user_name">用户名</label>
			<div class="controls">
				<input type="text" name="user_name" id="user_name" placeholder="" value="<?php echo isset($user_data['user_name'] ) ? $user_data['user_name'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="password">密码</label>
			<div class="controls">
				<input type="text" name="password" id="password" placeholder="" value="<?php echo isset($user_data['password'] ) ? $user_data['password'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="name">姓名</label>
			<div class="controls">
				<input type="text" name="name" id="name" placeholder="" value="<?php echo isset($user_data['name'] ) ? $user_data['name'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="avatar">头像</label>
			<div class="controls">
				<input type="text" name="avatar" id="avatar" placeholder="" value="<?php echo isset($user_data['avatar'] ) ? $user_data['avatar'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="user_rank">会员等级</label>
			<div class="controls">
				<input type="text" name="user_rank" id="user_rank" placeholder="" value="<?php echo isset($user_data['user_rank'] ) ? $user_data['user_rank'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="phone">电话</label>
			<div class="controls">
				<input type="text" name="phone" id="phone" placeholder="" value="<?php echo isset($user_data['phone'] ) ? $user_data['phone'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="address">地址</label>
			<div class="controls">
				<input type="text" name="address" id="address" placeholder="" value="<?php echo isset($user_data['address'] ) ? $user_data['address'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="country_id">国家</label>
			<div class="controls">
				<input type="text" name="country_id" id="country_id" placeholder="" value="<?php echo isset($user_data['country_id'] ) ? $user_data['country_id'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="city_id">城市</label>
			<div class="controls">
				<input type="text" name="city_id" id="city_id" placeholder="" value="<?php echo isset($user_data['city_id'] ) ? $user_data['city_id'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="city">城市</label>
			<div class="controls">
				<input type="text" name="city" id="city" placeholder="" value="<?php echo isset($user_data['city'] ) ? $user_data['city'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="province_id">省份</label>
			<div class="controls">
				<input type="text" name="province_id" id="province_id" placeholder="" value="<?php echo isset($user_data['province_id'] ) ? $user_data['province_id'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="province">省份</label>
			<div class="controls">
				<input type="text" name="province" id="province" placeholder="" value="<?php echo isset($user_data['province'] ) ? $user_data['province'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="postcode">邮编</label>
			<div class="controls">
				<input type="text" name="postcode" id="postcode" placeholder="" value="<?php echo isset($user_data['postcode'] ) ? $user_data['postcode'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="qq">QQ</label>
			<div class="controls">
				<input type="text" name="qq" id="qq" placeholder="" value="<?php echo isset($user_data['qq'] ) ? $user_data['qq'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="created">创建日期</label>
			<div class="controls">
				<input type="text" name="created" id="created" placeholder="" value="<?php echo isset($user_data['created'] ) ? $user_data['created'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="modified">修改日期</label>
			<div class="controls">
				<input type="text" name="modified" id="modified" placeholder="" value="<?php echo isset($user_data['modified'] ) ? $user_data['modified'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="status">状态</label>
			<div class="controls">
				<input type="text" name="status" id="status" placeholder="" value="<?php echo isset($user_data['status'] ) ? $user_data['status'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group control-group-submit">
			<button type="submit" class="btn  btn-blue  floa-Left"><?php echo isset($user_data['user_id'])?'修改':'添加';?></button>
			<button type="submit" class="btn  btn-blue">重置</button>
		</div>
		<input type="hidden" name="is_submit" value="1">
		<!--__TOKEN__-->
	</form>
</div>
